Method and apparatus for reducing power consumption

ABSTRACT

A method is provided for operating an electronic device by monitoring operating characteristics of the electronic device, and determining from the monitored operating characteristics to operate at least a portion of components within the electronic device in a first, second, or third mode of operation. The first, second, and third modes of operation consume power at first, second, and third different rates. At least a portion of the components are instructed to switch between the first, second, and third modes.

BACKGROUND OF THE INVENTION

1. Field of the Invention

This invention relates generally to low-power operating modes ofelectronic devices, and, more particularly, to a method and apparatusfor transitioning between multiple power saving modes of operation.

2. Description of the Related Art

For a variety of reasons, power consumption has become an increasinglysignificant issue for electronic devices such as computer systems.First, the United States has promulgated a number of regulationsregarding power usage or power savings. Further, since many electronicdevices, such as laptop computers, draw power from a battery, reducingpower consumption can result in significantly longer usage, making theseelectronic devices more versatile and useful. Additionally, powerconsumption is related to the amount of heat produced by the electronicdevice. Reducing power consumption reduces the amount of heat generated,and, thus, reduces the size and complexity of heat sinks, fans, andother structures used to help cool the electronic devices. Accordingly,reducing power consumption can result in reduced costs by eliminating orscaling back the cooling structures. Additionally, reduced heatdissipation generally means that electronic components may be moredensely packed, leading to smaller, more compact packages. Moreover,reducing power consumption is environmentally friendly, as it reducesthe use of fossil fuels and attendant pollutants.

Accordingly, the electronics industry has been driven to develop avariety of power saving schemes. Computer systems and other electronicdevices frequently have a low-power mode of operation that isimplemented using different techniques. These low-power modes primarilytake advantage of the fact that most computer systems are not alwaysworking at high capacity, but routinely have periods of time where theyare essentially idle. Some computer systems reduce power by reducing thepower consumed by certain components used in the system during theseidle periods of time. For example, many computer systems employ amonitor, which consumes substantial power. Thus, during low-power mode,the system may turn the monitor off. Likewise, other components, such asa hard disk drive, compact disk (CD) player, random access memory (RAM),and the like may also be turned off. Significant power savings may beachieved by removing power from the presently unused peripheral devices.However, when a user attempts to operate a computer system that has itsperipheral devices powered-down, a significant delay occurs before thecomputer system can restore power to the peripherals and beginresponding to the requests of the user. Thus, many users bypass orotherwise disable these types of low-power operating modes to avoidthese delays.

Other power saving schemes reduce the frequency of a clock signalsupplied to components used in the computer system. All other factorsbeing equal, reducing the clock frequency generally proportionallyreduces power consumption. Thus, some systems reduce the clock frequencyby a significant factor, such as by one-half or more to achievesignificant power savings. Normally, however, the various subsystemswithin a computer system must have a globally synchronized clock signalto insure proper operation. This synchronization is commonly achievedusing a phase-locked-loop (PLL) circuit. PLL circuits, however, have afinite frequency range in which they operate with sufficient speed andaccuracy to insure that a globally synchronized clock signal may bemaintained. Thus, where the clock frequency is changed dramatically,such as by half or more, the PLLs may operate marginally or erratically.Faulty operation of the PLLs may produce unstable operation of thecomputer system as a whole, causing the system to crash or lock-up.Thus, during transitions from normal to low-power mode, or vice versa,the system may fail, again encouraging the user to disable the powersaving feature.

The present invention is directed to overcoming, or at least reducingthe effects of, one or more of the problems set forth above.

SUMMARY OF THE INVENTION

In one aspect of the present invention, a method is provided foroperating an electronic device. The method comprises monitoringoperating characteristics of the electronic device, and determining fromthe monitored operating characteristics to operate at least a portion ofcomponents within the electronic device in a first, second, or thirdmode of operation. The first, second, and third modes of operationconsume power at first, second, and third different rates. At least aportion of the components are instructed to switch between the first,second, and third modes.

In another aspect of the present invention, an apparatus is provided.The apparatus is comprised of a plurality of components and acontroller. At least a portion of the components have a first, second,and third mode of operation, and the first, second, and third modes ofoperation consume power at first, second, and third different rates. Thecontroller is capable of instructing the components to switch betweenthe first, second, and third modes of operation.

BRIEF DESCRIPTION OF THE DRAWINGS

The invention may be understood by reference to the followingdescription taken in conjunction with the accompanying drawings, inwhich the leftmost significant digit(s) in the reference numeralsdenote(s) the first figure in which the respective reference numeralsappear, and in which:

FIG. 1 illustrates a stylized representation of a computer system thatmay advantageously employ one or more of the aspects of the presentinvention;

FIG. 2 schematically illustrates a top level block diagram of thecomputer system of FIG. 1;

FIG. 3 schematically illustrates a register employed in variouscomponents of the computer system of FIG. 1;

FIG. 4 illustrates a timing diagram for various handshaking signals usedby the computer system of FIGS. 1 and 2 to cause the various componentsof the computer system to switch between various power saving modes ofoperation;

FIG. 5 illustrates a block diagram of a phased lock loop (PLL)controller in accordance with one aspect of the present invention;

FIGS. 6A and 6B illustrate timing diagrams of various signals used inthe PLL controller of FIG. 5;

FIG. 7 illustrates a block diagram of one embodiment of the PLLcontroller of FIG. 5;

FIGS. 8A and 8B illustrate a timing diagram of various signals used inthe PLL controller of FIG. 7;

FIG. 9 illustrates a block diagram of an interface between a memory anda CPU of the compute system of FIG. 2;

FIG. 10 illustrates a block diagram of a control circuit and PLL circuitof the memory of FIGS. 2 and 9;

FIG. 11 illustrates a flow chart of a control sequence that may beexecuted by the CPU of FIGS. 2 and 9;

FIG. 12 illustrate a timing diagram of various signals used in thecontrol circuit and PLL circuit o FIG. 10;

FIG. 13 illustrates a block diagram of a system bus and bus controllerin the computer system of FIG. 2;

FIG. 14 illustrates a timing diagram of various signals used incontrolling the system bus of FIG. 13;

FIG. 15 illustrates a block diagram of an interface between a cache anda CPU of the computer system of FIG. 2;

FIG. 16 illustrates a timing diagram of various signals used incoordinating the operation of the cache and CPU of FIGS. 2 and 15;

FIG. 17 flow chart of a control sequence that may be executed by the CPUof FIGS. 2 and 15 to control operation of the cache;

FIG. 18 illustrates a block diagram of an interface between a powersupply and a CPU of the computer system of FIG. 2;

FIG. 19 illustrates a block diagram of the power supply of FIG. 18;

FIG. 20 illustrates a block diagram of a power module of the powersupply of FIGS. 18 and 19; and

FIG. 21 illustrates a flow chart of a control sequence that may beexecuted by the CPU of FIG. 2 to reduce the effects of thermal cycling.

While the invention is susceptible to various modifications andalternative forms, specific embodiments thereof have been shown by wayof example in the drawings and are herein described in detail. It shouldbe understood, however, that the description herein of specificembodiments is not intended to limit the invention to the particularforms disclosed, but, on the contrary, the intention is to cover allmodifications, equivalents, and alternatives falling within the spiritand scope of the invention as defined by the appended claims.

DETAILED DESCRIPTION OF SPECIFIC EMBODIMENTS

Illustrative embodiments of the invention are described below. In theinterest of clarity, not all features of an actual implementation aredescribed in this specification. It will of course be appreciated thatin the development of any such actual embodiment, numerousimplementation-specific decisions must be made to achieve thedevelopers' specific goals, such as compliance with system-related andbusiness-related constraints, which will vary from one implementation toanother. Moreover, it will be appreciated that such a development effortmight be complex and time-consuming, but would nevertheless be a routineundertaking for those of ordinary skill in the art having the benefit ofthis disclosure.

Illustrative embodiments of a method and apparatus for providing amulti-level, low-power mode of operation according to the presentinvention are shown in FIGS. 1-21. As will be readily apparent to thoseskilled in the art upon a complete reading of the present application,the present method and apparatus are applicable to a variety of computersystems other than the embodiment illustrated herein, and moreover toelectronic devices other than computer systems, including, but notlimited to, logic devices, memory devices, and the like.

Turning now to FIG. 1, a stylized representation of a computer system100 that may advantageously employ one or more of the aspects of thepresent invention is shown. Generally, the computer system 100 iscomprised of exemplary components 102, such as a first and secondcentral processing unit (CPU) 104, 106, a first and second cache 108,110, a memory 112, input/output (I/O) 114, and other miscellaneouscomponents 116. These components 102 are coupled together via anarchitecture 118, which allows the components 102 to efficientlycommunicate with one another and potentially with other external devices(not shown), such as other computer systems, printers, scanners, etc.

During normal operation, each of the components 102 operates at apreselected clock frequency, drawing power at a preselected rate. Duringthis normal operation, the computer system 100 is generally fullypowered and prepared to perform any task requested of it, utilizing theresources of the computer system 100, as represented by the components102. That is, during normal operation, the components 102 are operatingin a mode that corresponds to their designed full, undiminishedcapabilities. The components 102 may be accomplishing useful work at arate of anywhere between being idle or working at full capacity, but arenonetheless being provided with sufficient voltage, current, and clockfrequency to perform useful work at their designed full, undiminishedcapabilities.

Accordingly, there may be times when the computer system 100 may haveits components 102 being utilized to perform useful work at a rate belowthat of their maximum capabilities. During these periods ofunderutilization, the computer system 100 may be able to perform itscurrently assigned tasks at a lower clock frequency and/or with lesspower provided thereto without adverse impact. Moreover, there may alsobe times when the computer system 100 is essentially idle, providinglittle or no useful work. During these idle periods, it may be possibleto further reduce the clock frequency and/or power consumption of thecomputer system 100 without adverse impact.

Thus, in accordance with at least one aspect of the present invention,the computer system 100 has at least three modes of operation: a normalmode, a reduced power mode, and an idle mode. During the reduced powermode, the clock frequency applied to at least some of the components maybe reduced by a significant factor, which allows the computer system 100to remain operational, but at reduced speed, power, or capability. Inone exemplary embodiment, the clock frequency is reduced by a factor ofabout one-half. Those skilled in the art will recognize that the factorby which the clock signal is reduced is a matter of design choice, andmay vary widely from the exemplary factor of one-half without departingfrom the spirit and scope of the instant invention.

In the event that the full capabilities of the computer system 100 aresubsequently requested, the clock frequency may be promptly restored toits full value to restore the full capabilities of the computer system100. On the other hand, if the load on the computer system 100 dropsfurther to, for example, substantially idle, then the idle mode may beimplemented by further reducing the clock frequency applied to at leastsome of the components 102. This further reduction in clock frequencymay further reduce the power consumed by the computer system 100, butstill maintains the computer system 100 in an operational state, albeitsubstantially diminished. In this idle mode of operation, the computersystem 100 remains active and capable of responding to requests, such asoperator interaction with a keyboard, mouse or other pointing device(not shown). Additionally, some computer systems 100 may be coupled to anetwork (not shown) that periodically attempts to communicate with thecomputer system 100. The computer system 100 may be programmed orhard-wired to respond to requests of this type by returning the computersystem 100 to either the reduced power mode or the normal mode byrestoring the clock frequency to the appropriate level, or by electingto handle the request while remaining in the idle mode of operation.

In one embodiment, the clock frequency is reduced to about {fraction(1/32)} of the normal mode frequency. However, those skilled in the artwill recognize that the factor by which the clock signal is reduced is amatter of design choice, and may vary widely from the exemplary factorof {fraction (1/32)} without departing from the spirit and scope of theinstant invention.

A variety of factors may be considered in determining when to transitionbetween the normal, reduced power, and idle operating modes. Forexample, the computer system 100 may monitor the utilization of thecomponents 102. That is, when the utilization of the components 102falls below a preselected level for a preselected period of time, thecomputer system 100 may elect to move to the reduced power or even theidle operating mode. Utilization may be measured using any of a varietyof conventional techniques, such as the time since last accessed, theamount of resources being currently consumed, the average amount ofresources utilized for a preselected duration of time, and the like.

The components 102 are not limited to all operating at the same clockfrequency. In fact, computer systems 100 commonly have components 102that operate at a fractional component of the clock frequency duringnormal operation. For example, the memory 112 often operates at afraction of the speed that the CPUs 104, 106 operate. Semiconductormemory capable of operating at the same speed as high-speed CPUs isexpensive, and thus, is not normally used to construct the relativelylarge memory 112, but is generally used to construct the substantiallysmaller cache 108, 110. Likewise, some busses used in exemplaryembodiments of the architecture 118 may operate at a fractionalcomponent of the clock frequency during normal operation. Thus, thecomponents 102 coupled to these busses may also operate at a reducedclock frequency during normal operation. In some embodiments, it may beuseful to proportionally reduce the clock frequency supplied to at leastsome of these busses and components 102. On the other hand, it may beuseful to maintain the clock frequency of select ones of the busses andcomponents 102 when entering the reduced power or idle modes. In oneaspect of the instant invention, a method and apparatus are provided toallow the clock frequency of the various busses and components 102 to beindependently varied, as desired.

Thus, while the same frequency is not normally used universallythroughout the computer system 100, the various clock frequencies arenormally synchronized, often by a device such as a phase locked loop(PLL) circuit (see FIGS. 5-8 and the attendant description for adetailed discussion of one embodiment of a PLL used in the presentinvention). That is, the clock signal applied to the CPU 104 issynchronized with the clock signal applied to the I/O 114 so thatlow-to-high (or high-to-low) transitions in the various clock signalsoccur substantially simultaneously.

In the event that the various clock signals are not synchronized,signals traveling between the components 102 may become corrupted. Forexample, if the memory 112 is providing data to the CPU 104, it will doso for a period of time measured from a low-to-high transition of thememory clock signal. If the CPU clock signal is not synchronizedprecisely with the memory clock signal, then the CPU 104 may not “lookfor” the data provided by the memory 112 until too late, or too early.Thus, the data provided by the memory 112 may be lost or otherwisecorrupted.

Accordingly, during the transitions between the normal, reduced power,and idle modes, the variations in the clock frequency should be closelycoordinated among the components 102. Registers 120 located within orotherwise accessible to each of the components 102 assist, at least inpart, in coordinating the variations of the clock frequency. Further, ahandshaking protocol between the components 102 further aids in thecoordination of the clock frequency variations.

The architecture 118 may take on any of a variety of forms withoutdeparting from the spirit and scope of the instant invention. Toillustrate various aspects of the instant invention, the implementationof the invention in an exemplary architecture is shown beginning in FIG.2. However, the instant invention admits to much wider application andshould not be considered as being limited to the particular architecture118 illustrated herein unless specifically set forth in the appendedclaims.

FIG. 2 illustrates a top level block diagram of one embodiment of acomputer system 200 that may advantageously employ one or more aspectsof the present invention. The computer system 200 may comprise a pair ofcentral processing units (CPUs) 202, 204, such as UltraSPARC™ orMicroSPARC™ microprocessors commercially available from SunMicrosystems. Those skilled in the art, having benefit of theaccompanying specification, will appreciate that the present inventionhas application in a variety of computer systems, including single CPUsystems. An input/output (I/O) bridge 206 interfaces a plurality ofperipheral devices 208 with the CPUs 202, 204 through a conventional setof crossbar switches 210. The peripheral devices 208 may alsocommunicate with memory 212 through the crossbar switches 210.Additionally, the memory 212 may be coupled directly to one or more ofthe CPUs 202, 204. One or more caches 214 may also be coupled to one ormore of the CPUs 202, 204.

The computer system 200 includes a boot bus controller (BBC) 216, whichprovides a plurality of functions, including generating and distributingcontrol signals to each of the components 202-214. Additionally, the BBC216 includes an energy or power controller 218 that coordinates varyingthe clock frequency during transitions between the normal, reducedpower, and idle operating modes.

Finally, each of the components 202-214 has associated with it aregister 220 that assists in coordinating variations in the clockfrequency during transitions between the normal, reduced power, and idleoperating modes. Turning to FIG. 3, one exemplary embodiment of theregister 220 is illustrated. The register 220 has a plurality of bits,two of which 300, 302 are used to identify the clock frequency oroperating mode to which the associated component 202 will be switched.In one embodiment, the bits 300, 302 identify the operating mode orclock frequencies as set forth in Table I below.

TABLE I Register Bits Operating Mode 00 Normal mode 01 Reduced powermode 10 Idle mode 11 Reserved

The register bits 300, 302 are set to the desired value by the powercontroller 218 of the BBC 216. That is, prior to switching between thevarious operating modes, software operating on the computer system 200performs a write operation into each of the registers 220 to set thevalues of the bits 300, 302 to the desired level in anticipation of anupcoming switch in operating modes. For example, assume that thecomputer system 200 is presently operating in the normal mode but that arelatively low load is currently being placed on the computer system200, such that the computer system 200 may be switched to the reducedpower operating mode. Software, which is executed by one or both of theCPUs 202, 204 writes the binary value 01 into the register 220 at thebits 300, 302 to indicate that the component 202 should switch to thereduced power operating mode during the next transition.

In the illustrated embodiment, the power controller 218 includes bothhardware and software. At least a portion of the hardware may be locatedin the BBC 216, and the CPUs 204, 206 may be programmed to executesoftware to implement some or all of the functions described herein.However, as will be appreciated by those of ordinary skill in the art,hardware circuits designed to implement the particular functions mayalso be used. Moreover, the functions of the controller 218 describedherein may be performed by one or more processing units that may or maynot be geographically dispersed. Portions of the invention andcorresponding detailed description are presented in terms of software,or algorithms and symbolic representations of operations on data bitswithin a computer memory. These descriptions and representations are theones by which those of ordinary skill in the art effectively convey thesubstance of their work to others of ordinary skill in the art. Analgorithm, as the term is used here, and as it is used generally, isconceived to be a self-consistent sequence of steps leading to a desiredresult. The steps are those requiring physical manipulations of physicalquantities. Usually, though not necessarily, these quantities take theform of optical, electrical, or magnetic signals capable of beingstored, transferred, combined, compared, and otherwise manipulated. Ithas proven convenient at times, principally for reasons of common usage,to refer to these signals as bits, values, elements, symbols,characters, terms, numbers, or the like.

It should be borne in mind, however, that all of these and similar termsare to be associated with the appropriate physical quantities and aremerely convenient labels applied to these quantities. Unlessspecifically stated otherwise, or as is apparent from the discussion,terms such as “processing” or “computing” or “calculating” or“determining” or “displaying” or the like, refer to the actions andprocesses of a computer system, or similar electronic computing device,that manipulates and transforms data represented as physical, electronicquantities within the computer system's registers and memories intoother data similarly represented as physical quantities within thecomputer system memories or registers or other such information storage,transmission or display devices.

Transitions between the various operating modes of the computer system200 are coordinated by a handshaking protocol, as generally set forth inthe timing diagrams of FIG. 4. After the registers 220 have beenproperly configured, the power controller 218 initiates a transitionbetween operating modes by asserting a Freeze signal 400. In theillustrated embodiment, the Freeze signal 400 is illustrated as beingasserted by a transition 402 to a logically low value. Those skilled inthe art, however, will appreciate that the Freeze signal 400 (and anyother signal discussed herein) could readily be designated as beingasserted by a transition to a logically high value without departingfrom the spirit and scope of the instant invention.

The components 202 receive the Freeze signal 400 and respond bybeginning the process of suspending all transactions between thecomponents 202, such as bus transactions. As each of the components 202completes the suspension process, it delivers a Freeze Acknowledgesignal 404 to the power controller 218. Since the components 202 may beoperating at different frequencies and may be in the process oftransferring varying size packets of data therebetween, varying amountsof time may be needed by the components 202 to complete the process ofsuspending all of their pending transactions. Thus, the power controller218 waits for an undefined period of time, indicated by a block 406, forall of the components 202 to respond with a Freeze Acknowledge signal404. That is, the power controller 218 takes no further action, withrespect to changing the clock frequencies of the components 202, untilthe Freeze Acknowledge signal 404 is received from each of thecomponents 202. It should be understood that the instant invention doesnot require all transactions to be completed, but rather, that they behalted, at least temporarily, until the change in clock frequency can becompleted. Thereafter, any pending transactions may be resumed.

A predetermined delay, T1, after all of the Freeze Acknowledge signals404 have been received, the power controller 218 asserts a Change signal408, which is active low. The components 202 receive the change signaland move to the new clock frequency indicated by the bits 300, 302 inthe register 220 after a preselected number of clock cycles. A Clock Asignal 410 is intended to be representative of a clock signal producedby the power controller 218 and delivered to one or more of thecomponents 202. A Clock B signal 412 is intended to be representative ofa clock signal generated by or for one or more of the components 102based on the content of the bits 300, 302 in the register 220.Generally, the components 202 use the Clock B signal to control thetiming of their internal operation. Thus, as can be seen in theexemplary timing diagrams of FIG. 4, the Clock B signal 412 changesfrequency on the third clock cycle 414 following deassertion of theChange signal 408. In the exemplary embodiment, all of the components202 change their frequency according to the bits 300, 302 substantiallysimultaneously.

After the Change signal 408 is deasserted, the power controller 218waits a predetermined time period to allow the Clock B signal 412 tostabilize, and then releases the Freeze signal 400. Once the Freezesignal 400 is released or deasserted, transactions between thecomponents 202 are allowed to resume. At some point, the FreezeAcknowledge signals 404 are released or deasserted by the components202. The timing is not critical, but needs to be done after the Changesignal 408 is deasserted, and in anticipation of a subsequent transitionin the frequency of the Clock B signals 412.

A PLL Bypass signal 416 is also illustrated in FIG. 4. The PLL Bypasssignal 416 is used in conjunction with operation of the memory 212during transitions between the various operating modes. A detaileddiscussion of the PLL Bypass signal 416 and the memory 212 is set forthsubsequently herein in conjunction with FIGS. 9-12.

It should be appreciated that a variety of different power saving levelsmay be achieved by reducing the frequency of the Clock B signal used byselective ones of the components 202. For example, during the operationof the computer system 200, select components 202 may be used at arelatively high rate, while other components 202 may remain idle orsubstantially underutilized. The power controller 218 may selectivelyreduce the clock frequency of the idle or underutilized components 202while maintaining the clock frequency of those components currentlybeing used by the computer system 200.

Turning now to FIG. 5, a block diagram of a phased lock loop (PLL)controller 500 in accordance with one aspect of the present invention isillustrated. A plurality of the PLL controllers 500 may be associatedwith the components 202. That is, each of the components 202 may haveone or more of the PLL controllers 500 located therein or associatedtherewith so as to provide the Clock B signal 412 discussed above.Generally, the PLL controller 500 has a first divide-by-N counter 502that receives the Clock A signal 410 and produces a desired,reduced-frequency clock signal, which is delivered to an input terminalof a conventional phase comparator 504. An output terminal of the phasecomparator 504 is coupled to a conventional voltage controlledoscillator (VCO) 506 through a loop filter 505. A second divide-by-Ncounter 508 is coupled to an output terminal of the VCO 506. An outputterminal of the second divide-by-N counter 508 is coupled to aconventional clock tree 510, which may produces a plurality of clocksignals, including the Clock B signal 412. The Clock B signal is coupledthrough a delay circuit 512 to a second input of the phase comparator504.

For purposes of describing the operation of the PLL controller 500,assume that the computer system 200 is in its normal operating mode, andthat the Clock A signal 410 is at a preselected frequency, which forpurposes of this description will be assumed to be about 500 MHz. Sincethe computer system is in the normal operating mode, the Clock B signal412 will be at the same frequency as the Clock A signal and issynchronized with the Clock A signal 410. Accordingly, the divide-by-Ncounters 502, 508 have been instructed by the contents of the register220 to produce the normal frequency, e.g., 500 MHz, as the Clock Bsignal 412. That is, the divide-by-N counter 502 passes the Clock Asignal 410 principally unchanged, with the exception of a short delayD1, as illustrated in FIG. 6A.

The VCO 506 is currently delivering an output signal that is at the samefrequency as the Clock A signal (i.e., 500 MHz in this example). Thesecond divide-by-N counter 508, like the first divide-by-N counter 502passes the VCO signal principally unchanged, with the exception of ashort delay. The clock tree 510 receives the delayed VCO signal andproduces the Clock B signal 412. A feedback path through the delaycircuit 512 delivers the Clock B signal to the second input of the phasecomparator 504. Any difference between the phases of the delayed Clock Bsignal 412 and the delayed Clock A signal 410 causes the phasecomparator to deliver an output signal that varies the phase of the VCO506. This process continues until the Clock B signal 412 is synchronizedwith the Clock A signal 410.

The delay circuit 512 introduces a delay into the clock B signal 412that is intended to substantially match the delay D1 introduced by thefirst divide-by-N counter 502, as shown in FIG. 6A. Thus, the phasecomparator 504 compares the delayed versions of the Clock A and Clock Bsignals 410, 412, synchronizing the delayed Clock B signal with thedelayed Clock A signal 600, which will also synchronize the Clock Bsignal 412 with the Clock A signal 410 if the delay circuit 512 matchesthe delay D1.

Assuming now that the computer system 200 has entered the reduced powermode, the divide-by-N counters 502, 508 have been instructed by thecontents of the register 220 to reduce the frequency of the Clock Bsignal 412 by, for example, a factor of 2 (i.e., about 250 Mhz in thisexample). As shown in FIG. 6B, the divide-by-N counter 502 produces areduced frequency clock signal 602 by eliminating every other clockpulse in the Clock A signal 410. The delay D1 introduced by the firstdivide-by-N counter 502 remains substantially the same as during normaloperation, as illustrated in FIG. 6A. At substantially the same time,the second divide-by-N counter 508 also produces a reduced frequencyclock signal similar to the reduced frequency clock signal 602 byeliminating every other clock pulse in the clock signal produced by theVCO 506. The clock tree 510 uses the reduced frequency signal from thedivide-by-N counter 508 to produce the Clock B signal 412. A delayedversion 604 of the Clock B signal 412 is produced by the delay circuit512.

The delayed Clock B signal 604 is delivered to the phase comparator 504where it is compared with the delayed Clock A signal 602. Differencesbetween the phases of the delayed Clock A and Clock B signals 602, 604cause the VCO 506 to vary slightly to synchronize the delayed Clock Bsignal 602 with the delayed Clock A signal 604. The delayed Clock A andClock B signals 602, 604 are now synchronized with the Clock B signalbeing at the reduced frequency (i.e., 250 MHz in this example). The VCO506, however, continues to operate at the normal frequency (i.e., 500MHz in this example). That is, the VCO 506 is not forced to make widevariations in its output signal frequency, but rather, substantiallyremains at the normal frequency throughout any changes between thevarious operating modes. The relatively constant frequency of the VCO506 contributes to the stable operation of the PLL 500 and allows theClock B signal 412 to be quickly synchronized with the Clock A signal410 even with large variations in the frequency of the Clock B signal412.

Operation of the computer system 200 in the idle mode is substantiallysimilar to operation in the reduced power mode. In the idle mode, thedivide-by-N counters 502, 508 have been instructed by the contents ofthe register 220 to reduce the frequency of the Clock B signal 412 by,for example, a factor of 32 (i.e., about 15.625 Mhz in this example).The divide-by-N counter 502 produces a reduced frequency clock signal bypassing one and eliminating thirty-one clock pulses in the Clock Asignal 410. The delay D1 introduced by the first divide-by-N counter 502remains substantially the same as during normal and reduced power modesof operation. At substantially the same time, the second divide-by-Ncounter 508 also produces a reduced frequency clock signal similar tothe reduced frequency clock signal by passing one and eliminatingthirty-one clock pulses in the clock signal produced by the VCO 506. Theclock tree 510 uses the reduced frequency signal from the divide-by-Ncounter 508 to produce the Clock B signal. The delay circuit 512produces a delayed version of the Clock B signal.

Once again, the phase comparator 504 compares the phases of the delayedClock A and Clock B signals, and uses any difference to cause the VCO506 to vary slightly to synchronize the delayed Clock B signal with thedelayed Clock A signal. The delayed Clock A and Clock B signals are nowsynchronized with the Clock B signal being at the reduced frequency(i.e., 15.625 MHz in this example). The VCO 506, however, continues tooperate at the normal frequency (i.e., 500 MHz in this example). Thatis, the VCO 506 is not forced to make wide variations in its outputsignal frequency, but rather, substantially remains at the normalfrequency throughout any changes between the various operating modes.

FIG. 7 illustrates an embodiment of the PLL controller 500 of FIG. 5. Inthis embodiment, the divide-by-N counter 502 is comprised of an AND gate700 and a control logic circuit 702. The AND gate 700 has a first andsecond input, with the first input being adapted to receive the Clock Asignal 410 and the second input being adapted to receive a controlsignal from the control logic circuit 702. Generally, the control logiccircuit 702 produces logically high and low signals to allow the ANDgate 700 to respectively pass and block the Clock A signal 410 frombeing delivered to the phase comparator 504. In this manner, thefrequency of the Clock A signal 410 may be passed unaltered or reducedin frequency by selectively removing clock pulses. For example, if thecomputer system is operating in the normal mode, as indicated by thecontents of the register 220, the control logic circuit 702 delivers apersistent logically high signal, which passes all clock pulses of theClock A signal 410.

Assuming now that the computer system 200 has entered the reduced powermode of operation, the control logic circuit 702, based on the contentsof the register 220, “knows” that the frequency of the Clock A signalshould be reduced by a factor of two. Thus, as shown in FIG. 8A, thecontrol logic circuit 702 delivers a control signal 800 that islogically high during every other clock pulse of the Clock A signal 410.Thus, the AND gate 700 is enabled to pass every other pulse of the ClockA signal, reducing its frequency in half, and producing a reduced clockfrequency signal 802.

It should be appreciated that the divide-by-N counter 508 may beconfigured substantially similar to the divide-by-N counter 502, andcare must be taken to ensure that both of the divide-by-N counters 502,508 transition from one operating mode to another at substantially thesame time. The contents of the register 220 need to be communicated tothe divide-by-N counter 508 to ensure that the divisors used by both ofthe divide-by-N counters 502, 508 match, as indicated by the dottedarrow 514. However, while the clock signals used to control the register220 are synchronized with the Clock A and Clock B signals, thedivide-by-N counter 508 is directly clocked by the output of the VCO506. The output signal from the VCO 506 is out of phase with the Clock Aand Clock B signals by a factor substantially corresponding to the delayintroduced by the clock tree 510. This difference in timing can causetiming problems with the delivery of the contents of the register 220 tothe divide-by-N counter 508. Thus, signals from the register 220 arepassed through a series of stages in a buffer that are clocked withprogressively more delayed versions of the Clock B signal. That is, thestages of the buffer are clocked with progressively less delayed clocksignals taken from taps in the clock tree 510.

Assuming now that the computer system 200 has entered the idle mode ofoperation, the control logic circuit 702, based on the contents of theregister 220, “knows” that the frequency of the Clock A signal should bereduced by a factor of thirty-two. Thus, as shown in FIG. 8B, thecontrol logic circuit 702 delivers a control signal 900 that islogically high during one clock pulse and then logically low for thenext thirty-one clock pulses of the Clock A signal 410. Thus, the ANDgate 700 is enabled to pass every thirty-second pulse of the Clock Asignal, reducing its frequency by a factor of 32, and producing areduced clock frequency signal 902.

As shown in FIGS. 8A and 8B, the reduced frequency clock signals 802,902 are delayed by the factor D1. The delay, D1, in this embodiment is aresult of the processing time of the AND gate 700. The processing timeof the AND gate 700 remains relatively constant independent of the modeof operation. As discussed above, the Clock B signal 412 is moreaccurately synchronized with the Clock A signal 410 by introducing thedelay circuit 512 in the feedback path, where the delay circuit 512introduces a delay substantially similar to the delay, D1. In theillustrated embodiment, the delay circuit 512 takes the form of an ANDgate 704 that has a first input coupled to the Clock B signal 412 and asecond input tied to a logically high signal, such as system voltage,Vcc. By constructing the AND gates 700 on the same die, using the sameprocesses, and using transistors of similar size and configuration, thedelays introduced by the AND gates 700, 704 may be substantiallymatched.

Turning again to FIG. 7, those skilled in the art will appreciate thatthe second divide-by-N counter 508 may be of a similar or identicaldesign to that disclosed with respect to the first divide-by-N counter502. A variety of other designs for the divide-by-N counters 502, 508may be employed without departing from the spirit and scope of theinstant invention. Accordingly, the instant invention should not belimited to the particular embodiments of the divide-by-N counters 502,508 illustrated in FIG. 7 unless specifically set forth in the appendedclaims.

Not all of the components 202 may include the PLL controller 500, butrather, may employ other or additional methods and apparatus to reducethe likelihood of misoperation during transitions between the variousoperating modes. For example, the memory 212 of the computer system 200employs a different strategy to allow it to lock onto the reducedfrequency signal employed in the reduced power mode. As shown in FIG. 9,the memory 212 is coupled to the CPU 204 by a bus 900 and control signallines 902, which includes a VCO_SELECT control signal. The VCO_SELECTcontrol signal is delivered to a PLL 904 in the memory 212, and is usedto aid the PLL 904 in synchronizing with the Clock B signal delivered bythe BBC 216.

In one embodiment, the PLL 904 takes the form of a low voltage PLL clockdriver commercially available from Motorola, Inc. as part number MPC953.As shown in the block diagram of FIG. 10, the PLL 904 receives a ClockIn signal, which passes through a phase comparator 1000 and low passfilter (LPF) 1002 to a control input of a VCO 1004. An output terminalof the VCO 1004 is coupled to a first input terminal of a multiplexer1006 and through a divide-by-two counter 1008 to a second input terminalof the multiplexer 1006. The VCO_SELECT signal is delivered to a controlinput terminal of the multiplexer 1006. An output terminal of themultiplexer 1006 is coupled through a second multiplexer 1010 to a clocktree 1012. The clock tree 1012 delivers a Clock Out signal to the memory212, such as synchronous dynamic random access memory (SDRAM), forcontrolling its operation. The Clock Out signal is also deliveredthrough a feedback path to an input terminal of the phase comparator1000.

Thus, in a first mode of operation, the VCO_SELECT signal causes themultiplexer 1006 to pass the signal produced by the VCO 1004substantially unchanged. In a second mode of operation, however, theVCO_SELECT signal causes the multiplexer 1006 to pass a signal havingone-half the frequency of that produced by the VCO 1004. In the firstmode of operation, the PLL 904 is capable of locking onto a signalhaving a frequency falling in a first range. In the second mode ofoperation, the PLL 904 is capable of locking onto a signal having afrequency falling with a second range. For example, in the first mode ofoperation, the PLL 904 is capable of reliably locking onto a Clock Insignal in the range of at least about 150 to 62.5 MHz. In the secondmode of operation, the PLL 904 is capable of reliably locking onto aClock In signal in the range of at least about 125 to 50 MHz.

In one embodiment of the computer system 202, the system clock duringthe normal mode of operation is permitted to be within the range ofabout 100-150 MHz. Thus, where the system clock signal has a frequencyfalling within a lower portion of the 100-150 MHz range, such as 100-125MHz, the PLL 904 will not be able to reliably lock on the Clock Insignal when the computer system 200 enters the reduced power mode,reducing the Clock In signal to one-half of the system clock signal(i.e., within the range of about 62.5-50 MHz) if the PLL 904 is in thefirst mode of operation (i.e., capable of locking on a signal in therange of at least about 150-62.5 MHz). Conversely, where the systemclock signal has a frequency falling within an upper portion of the100-150 MHz range, such as about 125-150 MHz, the PLL 904 will not beable to reliably lock on the Clock In signal when the computer system isin the normal mode if the PLL 904 is in the second mode of operation(i.e., capable of locking on a signal in the range of 125-50 MHz).

However, the PLL 904 will be able to properly lock on the Clock Insignal whether the computer system 200 is in normal or reduced powermode if the VCO_SELECT signal is properly configured. For example, withthe system clock operating at a frequency of about 140 MHz, the Clock Insignal will be at about 140 and 70 MHz during the normal and reducedpower modes, respectively. If the VCO_SELECT signal has been asserted toset the PLL 904 in the first operating mode, then it will be capable ofreliably locking on signals in the range of about 150-62.5 MHz, whichincludes the expected signals of 140 and 70 MHz. Similarly, if thesystem clock is operating in the lower portion of the frequency range,such as at 110 MHz, the Clock In signal will be at about 110 and 55 MHzduring the normal and reduced power modes, respectively. If theVCO_SELECT signal has been deasserted to set the PLL 904 in the secondoperating mode, then it will be capable of reliably locking on signalsin the range of about 125-50 MHz, which includes the expected signals of110 and 55 MHz.

Accordingly, during initialization of the computer system 200, the CPU204 detects the frequency of the system clock and sets VCO_SELECT signalaccordingly. For example, if the CPU 204 detects that the system clockhas a frequency falling in the lower portion (e.g., about 100-125 MHz)of the permitted frequency range, then the VCO_SELECT signal is assertedto cause the multiplexer 1006 to pass the output signal of thedivide-by-two counter 1008. On the other hand, if the CPU 204 detectsthat the system clock has a frequency falling in the upper portion(e.g., about 125-150 MHz) of the permitted frequency range, then theVCO_SELECT signal is deasserted to cause the multiplexer 1006 to passthe output signal of the VCO 1004.

FIG. 11 illustrates one embodiment of a flowchart depiction of asoftware controlled process 1100 that may be operated by the CPU 204during an initialization or startup mode. The software depicted in FIG.11 is generally responsible for properly setting the value of theVCO_SELECT signal. The process 1100 begins at block 1102 with thecomputer system 200 entering the initialization or start up mode. Thisprocess generally occurs when the computer system 200 is powered on orreset, but ordinarily will not recur until the system is reset orpowered down and then back on again.

In block 1104, the CPU 204 monitors the system clock signal to determineits frequency. Thereafter, in block 1106, the CPU 204 compares thefrequency of the system clock signal to a preselected setpoint, which inthe exemplary system described above is about 125 MHz. Finally, in block1108, the CPU sets the VCO SELECT signal to a first value in response tothe frequency of the system clock signal being greater than about 125MHz, and to a second value in response to the frequency of the systemclock being less than about 125 Mhz.

The memory 212 includes additional methods and apparatus for reducingthe likelihood that data stored therein will become corrupted or lostduring transitions between the normal, reduced power, and idle modes ofoperation. For example, where the memory is composed of dynamicelements, such as in a synchronous dynamic random access memory (SDRAM),the elements must be periodically refreshed, or any charge originallyplaced thereon may bleed off. The process of periodically refreshing thememory elements may be delayed or otherwise interfered with by anunstable clock signal. Accordingly, during the transitions between thenormal, reduced power, and idle modes of operation, thechanging/unstable clock signal may cause the memory to become corruptedbecause of inadequate refreshing. Accordingly, a method and apparatusare provided that cause the memory 212 to enter a refresh mode that doesnot rely on the system clock signal during transitions between thenormal, reduced power, and idle modes of operation.

In one embodiment shown in FIG. 12, the memory 212 takes the form of anarray 1200 of synchronous dynamic random access memory (SDRAM) devices1202, 1204, 1206, 1208, such as are available from: Samsung as partnumbers KM416S4030, KM416S9030, or KM415S16230/KM48S32230; Hitachi aspart numbers HM5264165FTT or HM5225165BTT; or Mitsubishi as part numbersM2v6440BTP, M2v28s40ATP, or M2v56s40TP/M2v56s30TP. While four SDRAMdevices 1202, 1204, 1206, 1208 are shown in the illustrated embodiment,those skilled in the art will appreciate that more or fewer devices maybe readily used without departing from the spirit and scope of theinstant invention. The SDRAM devices are coupled together via a bus 1210for transmitting at least data and address signals. Control signals,such as write enable (WE), column address select (CAS), row addressselect (RAS), chip select (CS), and the like, for effecting theoperation of the SDRAM devices 1202, 1204, 1206, 1208 may also betransmitted over the bus 1210 or may be delivered via separate controlsignal lines 1212. The control signals may be used to cause the SDRAMdevices 1202, 1204, 1206, 1208 to enter various known modes ofoperation, such as self refresh. For example, the self refresh mode ofoperation may be entered by holding the CS, CAS, and RAS signals to alogically low level, while biasing the WE signal to a logically highlevel. In any event, once the established signaling protocol isrecognized by the SDRAM devices 1202, 1204, 1206, 1208, they enter intoa mode of operation that periodically refreshes the dynamic elementswithout reference to the system clock, but rather, relies on a clocksignal generated internal to the SDRAM devices 1202, 1204, 1206, 1208.

Generally, the self refresh mode of operation is normally used to retaindata in the SDRAM devices 1202, 1204, 1206, 1208, even if the rest ofthe computer system 200 is powered down. When in the self refresh mode,the SDRAM devices 1202, 1204, 1206, 1208 retain data without externalclocking. Once the self refresh mode is requested, the clock signalinput terminal to the SDRAM devices 1202, 1204, 1206, 1208 assume a“Don't Care” condition, and the SDRAM devices 1202, 1204, 1206, 1208provide their own internal clocking. Thus, each SDRAM device 1202, 1204,1206, 1208 performs its own refresh cycles. The SDRAM devices 1202,1204, 1206, 1208 may remain in self refresh mode for an indefiniteperiod of time without risk of losing or corrupting the data storedtherein. However, once the clock signal has stabilized, the computersystem 200 signals the SDRAM devices 1202, 1204, 1206, 1208, using apredefined signaling protocol, to emerge from the self refresh mode sothat the SDRAM devices 1202, 1204, 1206, 1208 are again accessible.

Accordingly, it should be appreciated that causing the SDRAM devices1202, 1204, 1206, 1208 to enter the self refresh mode temporarily duringtransitions in the frequency of the system clock signal effectivelyisolates the SDRAM devices 1202, 1204, 1206, 1208 from the system clocksignal during these unstable periods. Thus, the contents of the SDRAMdevices 1202, 1204, 1206, 1208 are protected from corruption that mayotherwise be caused by the unstable system clock signal.

Returning now to FIG. 4, the timing diagram of relevant signals of thecomputer system 200 during a transition between the normal, reducedpower, or idle modes of operation are illustrated. In particular, thetiming of the SDRAM devices 1202, 1204, 1206, 1208 entering and exitingthe self refresh mode is illustrated. As discussed in detail above inconjunction with FIG. 4, the general operation of the computer system200 as it transitions between the normal, reduced power, or idle modesof operation involves requesting that each of the components 102 freezesits activity. Over a period of time, each of the components 102 respondswith an acknowledge signal that it is now ready for the system clocksignal to change frequencies. Thereafter, the frequency of the systemclock signal is instructed to change. In one embodiment, the memory 212is instructed to enter the self refresh mode at a time after all of thecomponents 102 are ready for the frequency change, but before thefrequency of the system clock signal is allowed to change. That is, thememory 212 enters the self refresh mode after all of the freezeacknowledge signals are received, but before the change signal isasserted.

Thereafter, the self refresh mode is permitted to persist until theClock B signal has become stable and synchronized with the Clock Asignal. In one embodiment, the memory 212 exits the self refresh modeafter the freeze signal is deasserted. Those skilled in the art willappreciate that a memory controller (not shown) contained within the CPU204 is responsible for delivering the signals that cause the memory 212to enter the self refresh mode. Operation of the memory controller toinitiate the self refresh mode may be accomplished under hardware orsoftware control without departing from the spirit and scope of theinstant invention.

The memory 212 of the computer system 200 operates in a modified mannerin the idle mode of operation. As discussed above, the operation of thePLL 904 in the memory 212 is altered according to the system clockfrequency to ensure that the PLL 904 is able to reliably lock onto theclock signal in both the normal and reduced power modes throughout theexpected frequency range of the system clock signal. The operating rangeof the PLL 904, however, may not extend to the clock frequency used inthe idle mode. Accordingly, where the operating range of the PLL 904 isinsufficient to encompass the clock frequency used in the idle mode, adifferent technique is used.

First, the PLL 904 is bypassed. That is, as shown in FIG. 10, themultiplexer 1010 has a first input terminal coupled to receive the CLOCKIN signal and a second input terminal coupled to receive a locked clocksignal, either directly or indirectly (i.e., through the divide-by-twocounter 1006), from the VCO 1004. A PLL BYPASS signal is coupled to acontrol input terminal of the multiplexer 1010 so that one of thesignals applied to the first and second input terminals may beselectively delivered to the clock tree 1012 and then distributedthroughout the memory 212.

Thus, when the PLL BYPASS signal is not asserted, the multiplexer 1010passes the clock signal from the VCO 1004. In this mode of operation,the PLL 904 is actively comparing the phase of the CLOCK IN signal withthe phase of the CLOCK OUT signal to adjust the VCO 1004 to synchronizeor lock the phases of the CLOCK IN and CLOCK OUT signals. In this mode,the PLL 904 operates as a zero delay buffer.

Alternatively, when the PLL BYPASS signal is asserted, the multiplexer1010 passes the CLOCK IN signal to the clock tree 1012. In this mode ofoperation, the PLL 904 is effectively bypassed, with the CLOCK IN signalbeing substantially directly distributed by the clock tree 1012. Thus,since the PLL 904 is bypassed, the CLOCK OUT signal is no longersynchronized with the CLOCK IN signal. Rather, as shown in FIG. 13, theCLOCK OUT signal is delayed relative to the CLOCK IN signal by a timeperiod D5 substantially corresponding to the delay introduced by themultiplexer 1010 and the clock tree 1012. In one embodiment, the timeperiod D5 is in the range of about 6-8 nSec.

The time period D5 may be of sufficient duration that the transfer ofdata between the memory 212 and the other components 202, which aresynchronized with the system clock signal, may be mistimed. Accordingly,a conventional memory controller 906, which may be located within theCPU 204, as shown in FIG. 9, employs a first and second mode ofoperation. The first mode of operation of the memory controller 906 isassociated with the normal mode and the reduced power mode of operation.The second mode of operation of the memory controller 906 is associatedwith the idle mode of operation.

In the first mode of operation, the memory controller 906 is configuredunder either software or hardware control to control the timing of whenaddress or data lines should be latched, driven, or sampled. That is,through empirical studies, theoretical calculations, or simulations, thememory controller 906 “knows” the amount of time that it needs to waitafter a request to the memory 212 before the request will be serviced.For example, if the memory controller 906 requests that data be readfrom the memory 212, it “knows” that it must wait for a firstpreselected period of time before the memory 212 will deliver the databack to the memory controller 906. This first waiting period may bedesigned into a hardwired version of the memory controller 906, or mayprogrammed via software executing on the CPU 204. Generally, a register(not shown) within the memory controller 906 has a value stored thereinthat identifies the desired timing to be employed by the memorycontroller 906. In one embodiment, the first period of time is in therange of one or more clock periods.

In the second mode of operation, the value stored in the register (notshown) is altered to cause the memory controller 906 to wait for asecond, different period of time. In the illustrated embodiment, thesecond period of time is longer than the first to account for the timeperiod D5 by which the CLOCK OUT signal is out of phase with the CLOCKIN signal. Thus, owing to the longer second period of time, theoperation of the memory 212 is further slowed during the idle mode ofoperation, but the memory 212 remains active, and the data storedtherein remains uncorrupted. The memory 212 is slowed, but remainsoperational even in the idle mode of operation with the CLOCK IN signalat about {fraction (1/32)} of the normal clock frequency signal.

Returning now to FIG. 4, the timing diagram of relevant signals of thecomputer system 200 during a transition between the normal, reducedpower, or idle modes of operation are illustrated. In particular, thetiming of the PLL BYPASS signal is illustrated. Operation of thecomputer system 200 during a transition from the reduced power mode tothe idle mode of operation may be appreciated by referring to FIGS. 4and 9 simultaneously.

Assume that the BBC 216 has requested a change from the reduced powermode of operation to the idle mode of operation by setting the bits 300,302 of the registers 220. The memory controller 906 recognizes, based onthe bits 300, 302, that the system is entering the idle mode ofoperation, and therefore, needs to assert the PLL BYPASS signal whilethe SELF REFRESH signal is asserted. Asserting the PLL BYPASS signalwhen the SELF REFRESH signal is not asserted could result in data storedin the memory 212 being corrupted, as the CLOCK OUT signal may varysignificantly when the PLL BYPASS signal is asserted. Accordingly, inthe illustrated embodiment, the PLL BYPASS signal is asserted apreselected time period T2 after the CHANGE signal is asserted.Thereafter, as long as the computer system 200 remains in the idle modeof operation, the PLL BYPASS signal remain asserted.

At some point in time in the future, the BBC 216 will request that thecomputer system 200 move from the idle mode of operation to the reducedpower mode of operation. Once the computer system 200 switches to thereduced power mode, the PLL 904 will again be capable of reliablylocking on the CLOCK IN signal again. Thus, to increase the speed of thememory 212, the operation of the PLL 904 is restored to provide the zerodelay clock signal. The PLL BYPASS signal is deasserted a preselectedperiod of time T5 after the CHANGE signal is deasserted, which in theillustrated embodiment is after the CLOCK B/CLOCK IN signal transitionsto the new higher frequency associated with the reduced power mode ofoperation.

Turning now to FIG. 13, a bus controller 1300 for managing traffic toand from the peripherals 208 (see FIG. 2) is shown. The bus controller1300 is coupled through a bus 1302, such as a product componentinterface (PCI) bus, to a plurality of conventional devices 1304, 1306,1308, such as graphics cards, sound cards, and the like. While threedevices are illustrated, more or fewer devices may be coupled to the bus1302 without departing from the spirit and scope of the instantinvention.

Each of the devices 1304, 1306, 1308 is configured to request access tothe bus 1302 so that it may transfer data thereon or receive datathereover, such as from or to other components 202. A clock controller1310 provides clock signals over lines 1312, 1314, 1316 to the devices1304, 1306, 1308, respectively. The clock controller 1310 is alsocoupled to the bus controller 1300 to allow the bus controller to effectchanges in the frequency of the clock signals delivered to the devices1304, 1306, 1308 as a method of reducing the amount of power consumed bythe computer system 200.

Generally, the bus controller 1300 is adapted to request that the clockcontroller 1310 provide either a slow or fast clock frequency signal tothe devices 1304, 1306, 1308. When the devices 1304, 1306, 1308 are notproviding data to or receiving data from the bus 1302, the frequency ofthe clock signal supplied thereto may be substantially reduced. However,when any of the devices 1304, 1306, 1308 desire to transfer data ontothe bus 1302, or when another component desires to transfer data to oneof the devices 1304, 1306, 1308, then the bus controller 1300 mayinstruct the clock controller 1310 to raise the frequency of the clocksignal so that relatively high speed transfers to or from the devices1304, 1306, 1308 over the bus 1302 may be accomplished. In this manner,the devices 1304, 1306, 1308 may be placed in a low power mode ofoperation when not in use. That is, all other things being equal,reducing the frequency of the clock signal supplied to the devices 1304,1306, 1308 will reduce the power they consume. In one embodiment, thefast or normal clock signal has a frequency of about 33 MHz, and theslow or reduced frequency clock signal is divided by a factor of 32 toproduce an approximately 1 MHz clock signal. Those skilled in the artwill appreciate that a wide range of frequencies may be employed withoutdeparting from the spirit and scope of the instant invention.

Turning now to FIG. 14, a timing diagram of relevant signals of thecomputer system 200 during a transition between the fast and slowfrequency clock signals is illustrated. In particular, the timing of aCLOCK signal, a REQUEST signal, a FAST/SLOW signal, and a GRANT signalare illustrated. Operation of the computer system 200 during atransition between the fast and slow frequency clock signals may beappreciated by referring to FIGS. 13 and 14 simultaneously.

As shown in FIG. 14, the CLOCK signal is shown to initially be operatingat a relatively slow frequency, as shown in a region 1400. At some pointin time, the REQUEST signal is asserted by either one of the devices1304, 1306, 1308 or by one of the other components 202, as indicated bya positive transition 1402 in the REQUEST signal. The REQUEST signal maybe delivered over the bus 1302 or via a separate line extending betweenthe requesting device 1304, 1306, 1308. The bus controller 1300 respondsto the asserted REQUEST signal by instructing the clock controller 1310to increase the frequency of the CLOCK signal supplied to the devices1304, 1306, 1308. The bus controller 1300 asserts the FAST/SLOW signalsupplied to the clock controller 1310 over the line 1318, as illustratedby the positive transition 1404 in the FAST/SLOW signal.

The clock controller 1310 responds to the asserted FAST/SLOW signal bypromptly increasing the frequency of the CLOCK signal, as shown inregion 1406. After a preselected period of time has passed to allow theCLOCK signal to complete the transition and stabilize, the buscontroller 1300 asserts the GRANT signal, as indicated by a positivetransition 1408 in the GRANT signal, which is communicated to the device1304, 1306, 1308 that asserted the REQUEST signal or is the target ofthe component 202 that asserted the REQUEST signal. In one embodiment,the GRANT signal is asserted two clock cycles after the FAST/SLOW signalis asserted. Thus, the devices 1304, 1306, 1308 may be quickly broughtout of their low power/slow speed mode and restored to normal operationwith minimal negative impact on the speed with which data may betransferred to or from the devices 1304, 1306, 1308.

Additionally, while there are no bus transactions pending, such that thebus controller 1300 is not asserting the FAST/SLOW signal, then theclock controller 1310 may control the clock frequency of the devices1304, 1306, 1308 separately. That is, the clock controller 1310 mayprovide different frequency clock signals to the devices 1304, 1306,1308. For example, a slightly higher frequency clock signal may besupplied to some of the devices 1304, 1306, 1308 to allow them to dosome useful work. In one exemplary embodiment, the clock controller 1310provides a 4 MHz clock signal to a network interface card (NIC) coupledto the bus 1302. The slightly higher clock signal allows the NIC tocontinue to process network packets while still saving power.

Eventually, the data transferred to or from the devices 1304, 1306, 1308will be completed, causing the device 1304, 1306, 1308 requesting thetransfer, or the component 202 requesting the transfer, to deassert theREQUEST signal. The bus controller 1300 responds to the deassertedREQUEST signal by desasserting the GRANT signal, preventing any furtherbus transactions until another REQUEST signal is asserted. At the sametime or after the GRANT signal is deasserted, the bus controller 1300also deasserts the FAST/SLOW signal, allowing the clock controller 1310to reduce the frequency of the CLOCK signal, as shown in the region1410.

This process is repeated for each transaction over the bus 1302. Thus,the frequency of the CLOCK signal remains at its reduced setting untildata is transferred over the bus 1302. These periods of reducedfrequency may occur often and for extended periods of time, resulting ina substantial reduction in the power consumed by the computer system200.

Turning now to FIG. 15, a system for reducing power consumption based onreducing the power consumed by the cache 214 is illustrated. The cache214 is coupled to the CPU 202 via a plurality of conventionalconnections, such as an address bus, a data bus, and various controlsignals, which are generally represented schematically by the two-endedarrow 1500. In addition to the connections represented by the two-endedarrow 1500, a control signal may be controllably delivered over a line1502 by the CPU 202 to the cache 214 to cause the cache 214 to enter apower down mode of operation.

A variety of manufacturers of semiconductors produce memory productsthat may be used as a cache in a computer system. For example, IBM,Samsung, Sony, and the like each offer a semiconductor memory productspecifically designed to operate as a cache in a computer system. Atleast some of these memory products, such as K7N803645M available fromSamsung, include a mode of operation generally known as “sleep mode,”and may be used as the cache 214 in the computer system 200.

Sleep mode is a low-current, power-down mode in which the cache 214 isdeselected and current is reduced to a relatively low standby level. Thecache 214 is induced to enter the sleep mode by asserting a signal atone of its input pins, which is commonly referred to as the ZZ input pinand is coupled to the control line 1502. After entering the sleep mode,all inputs to the cache 214, except ZZ, become disabled and all outputsignals from the cache 214 go to a high impedance state. During thissleep mode, the amount of current and/or power required by the cache 214is substantially reduced.

Operation of the cache 214 as it enters the sleep mode may be understoodby reference to the timing diagrams set forth in FIG. 16. A clock signal1600 is generally used to synchronize operations within the cache 214.The control signal delivered to the ZZ input pin, however, may beasserted asynchronously with respect to the clock signal 1600.Accordingly, at a preselected time a signal 1602, which is delivered tothe cache 214 over the line 1502, is asserted. Two clock cycles afterthe control signal 1602 is asserted, the supply current, Isupply, to thecache 214 is substantially reduced, as illustrated by a current waveform1604. At about the same time, as shown by the waveform 1606, all of theinput pins to the cache 214 are disabled to prevent data stored in thecache 214 from being corrupted or lost by attempts to access the storeddata during the sleep mode. All output terminals of the cache 214 arealso driven to a high impedance state, as illustrated by the waveform1608.

Thereafter, the cache 214 may be “awakened” from the sleep mode bydeasserting the control signal 1602. When the control signal 1602 isreturned to its deasserted state, the cache 214 returns the currentsupply, Isupply, to its normal level, and about two clock cyclesthereafter, the input pins of the cache 214 are enabled again, as shownin the waveform 1606. The output pins of the cache 214 are also returnedto their normal operating state. Thus, at two clock cycles after thecontrol input 1602 is deasserted, the cache 214 is again running in itsnormal mode of operation.

Assertion of the ZZ control signal 1602 in the instant invention, unlikeprior systems, occurs between memory references while the memoryhierarchy is active. That is, in prior systems, the ZZ control signal1602 is asserted only when the memory hierarchy is disabled, such aswhen a computer system was being placed in a standby or sleep mode, andthus no references to the memory hierarchy would be taking place. Incontradistinction thereto, the system described herein may assert the ZZcontrol signal 1602 whenever the cache 214 is not currently handling amemory reference. That is, the computer system 200 may be operating inthe normal, reduced power, or idle modes and be fully capable of makingrequests that will read from or write to memory, which may include thecache 214, memory 212, disk drives (not shown), and the like. When amemory request that involves the cache 214 is detected, the ZZ controlsignal is deasserted, and two clock cycles later, the cache 214 mayservice the memory request.

Operation of the computer system 200 with respect to the sleep mode ofthe cache 214 may be understood by reference to the flowchart of FIG.17. The flowchart of FIG. 17 represents the control flow or process 1700of a program executed by the CPU 202 of the computer system 200, or of ahardware or firmware controller (not shown) that may be included in thecomputer system 200, such as within the CPU 202. Referring now to FIG.17, the process 1700 process begins at block 1702 with the processchecking to determine if a cache request has been received. Assumingthat the cache 214 is not currently being requested, the processproceeds to block 1704 where the sleep mode control signal 1602 isasserted, causing the cache 214 to enter the sleep mode.

During a subsequent pass through the process 1700, assume that a cacherequest is received. Thus, at block 1702 control is transferred to block1706 to determine if the cache 214 is currently in the sleep mode. Sincethe sleep mode control signal was asserted in block 1704 during aprevious pass, control transfers to a block 1708 where the sleep modecontrol signal 1602 is deasserted, causing the cache 214 to awaken fromthe sleep mode. However, the cache 214 needs an adequate time period tocomplete the wake up sequence before the cache request can be serviced.Accordingly, at block 1710, a two clock cycle delay is inserted, andthereafter, at block 1712, the cache request is delivered to the cache214 for servicing.

Assuming that an additional cache request is received during asubsequent pass through the process 1700, then block 1702 again passescontrol to block 1706, which recognizes that the cache 214 is notcurrently in the sleep mode, and thus, passes control to block 1712where the cache request may be immediately serviced. During subsequentpasses through the process 1700, if a cache request is not pending, thecache 214 may again be instructed to enter the sleep mode in block 1704.The process 1700 continually repeats so that the cache 214 may be put inthe sleep mode between each cache request, or each group of cacherequests.

Using the process and apparatus described above in conjunction withFIGS. 15-17, power consumption of the computer system 200 may bereduced. This reduction in power consumption may be effective to furtherreduce power consumption in any of the operating modes described above.That is, the cache 214 may be instructed to enter the sleep mode betweencache requests during the normal, reduced power, or idle modes of thecomputer system 200.

Turning now to FIG. 18, a system is provided in which a power supply1800 is selectively controllable to provide varying levels of current orpower. That is, the power supply 1800 may be selectively operated at aplurality of power levels, according to the operating characteristics ofthe computer system 200. For example, at times, the computer system 200may be processing tasks that employ many of its resources, thusrequiring substantial power. At other times, however, the computersystem 200 may be idle or performing processing that utilizes few or noresources of the computer system 200, thus requiring substantially lesspower. A power supply without the features of the instant invention maycontinue to operate in the same mode, making the same amount of poweravailable despite the fact that the computer system 200 may not requirethe amount of power currently being made available. This excess powerresults in the unnecessary consumption of power, attendant undesirableheating of the components of the computer system 200, and in the case ofbattery operated device, reduced useful life between rechargings of thebattery.

In one embodiment of the instant invention, the power supply 1800 isadapted to receive a control signal over a line 1802 from, for example,the CPU 202 operating under software control. Those skilled in the artwill appreciate that the control signal may alternatively be generatedby a hardware controller (not shown) or a firmware controller thatemploys both hardware and software. Generally, the CPU 204 generates thecontrol signal to cause the power supply 1802 to switch to one of aplurality of operating modes, where each of the operating modes causesthe power supply to be capable of delivering a preselected level ofpower over a line 1804 to the CPU 202, for example. That is, when theCPU 202 identifies the computer system 200 as being in a mode ofoperation that requires a reduced level of power consumption, then theCPU 202 may deliver the control signal over the line 1802 to the powersupply 1800 to cause the power supply 1800 to enter a mode of operationin which a diminished, but still satisfactory, level of power isavailable on the line 1804 from the power supply 1800.

In one embodiment, the power supply 1800 has three distinct operatingmodes capable of supplying three levels of power. Of course, the numberof levels of power are a matter of design discretion, which will be afunction of the parameters of each particular implementation. The numberof levels of power may be varied from the illustrative embodimentdescribed herein without departing from the spirit and scope of theinstant invention.

Turning now to FIG. 19, the power supply 1800 is shown to be comprisedof a power module A 1904, power module B 1906, and power module C 1908interfaced with a controller 1910. The power modules 1904, 1906, and1908 have their output lines coupled to the line 1804 so that theirpower delivery capabilities add together. That is, assume that each ofthe power modules 1904, 1906, and 1908 are capable of providing 1 wattof power. Thus, with all three power modules 1904, 1906, and 1908operating, the power supply 1800 is capable of delivering 3 watts ofpower. Similarly, when any two of the power modules, such as the powermodules 1904, 1906, are operating, then the power supply 1800 is capableof delivering 2 watts of power. Likewise, when only one of the powermodules, such as the power module 1904, is operating, then the powersupply 1800 is capable of delivering 1 watt of power.

The controller 1910 selectively enables/disables the power modules 1904,1906, and 1908 to enable the power supply 1800 to make available thelevel of power requested by the CPU 202. For example, if the CPU 202detects that only 2 watts of power need be available from the powersupply 1800, then the CPU 202 sends a request to the controller 1910 tomake 2 watts of power available from the power supply 1800. Thecontroller 1910 receives the request and disables one of the powermodules, such as the power module 1906. Thus, the power modules 1904,1906 are enabled to additively make available the requested 2 watts ofpower.

A stylized block diagram of circuitry useful in enabling/disabling thepower modules 1904, 1906, and 1908 is stylistically shown in blockdiagram form in FIG. 20 with respect to the power module 1904. Thoseskilled in the art will appreciate that the construction and operationof enabling/disabling circuitry in the power modules 1904, 1906, and1908 may be substantially similar, and thus, need not be repeatedherein.

Generally, a power field effect transistor (FET) 2000 is disposedbetween a voltage supply Vcc and the line 1804. The on/off time of theFET 2000 is then controlled to produce the desired voltage and makeavailable the desired current on the line 1804. A pulse width modulated(PWM) signal is delivered from the controller 1910 over a line 2004 to agate of the power FET 2000. An AND gate 2002 and an enable signaldelivered over a line 2006 are used to alternatively enable and disablethe power module 1904 by selectively blocking the PWM signal fromreaching the gate of the power FET 2000. With the PWM signal blocked,the power FET remains biased off, and no current or voltage is passedtherethrough to the line 1804.

In one embodiment, the CPU 202 coordinates switching between the threepower levels with transistions between the three operating modes. Forexample, during the normal mode of operation, the CPU 202 sends arequest to the controller 1910 to make available the full power of thepower supply 1800. Thus, the controller 1910 enables all three of thepower modules 1904, 1906, and 1908. Similarly, during the reduced powermode of operation, the CPU 202 sends a request to the controller 1910 tomake available only a portion of the power of the power supply 1800.Thus, the controller 1910 enables two of the power modules, such as thepower modules 1904, 1906. Finally, during the idle mode of operation,the CPU 202 sends a request to the controller 1910 to further reduce thepower of the power supply 1800. Thus, the controller 1910 enables onlyone of the power modules, such as the power modules 1904.

The CPU 202 will “know” the mode of operation based upon the contents ofthe register 220 and the status of the handshaking signals discussedabove in conjunction with FIG. 4. Thus, the CPU 202 is capable ofcoordinating the timing of the transitions between the power levels ofthe power supply 1800.

In an alternative embodiment, the power levels need not be limited tothree, and need not be associated with the operating modes of thecomputer system 200. Moreover, the power modules 1904, 1906, and 1908need not be capable of providing the same level of power. For example,assume that the power modules 1904, 1906, and 1908 are capable ofproviding 2, 1, and 0.5 watts, respectively. By selectively enablingdisabling the power modules 1904, 1906, and 1908, the power supply 1800can produce seven levels of power, varying between 0.5 and 3.5 watts.These power levels can be produced by enabling/disabling the powermodules 1904, 1906, and 1908 according to the patterns set forth inTable II below.

TABLE II Power Module Power Module Power Module Power Level 1905 19061908 (watts) Enable Enable Enable 3.5 Enable Enable Disable 3.0 EnableDisable Enable 2.5 Enable Disable Disable 2.0 Disable Enable Enable 1.5Disable Enable Disable 1.0 Disable Disable Enable  .5

Those skilled in the art will appreciate that a variety of levels ofpower may be made available by varying the number of power modulesand/or the power level produced by the modules. The number and magnitudeof these levels is a matter of design discretion, which will be afunction of the parameters of each particular implementation. The numberof levels of power and the magnitude of the variations therebetween maybe varied from the illustrative embodiment described herein withoutdeparting from the spirit and scope of the instant invention.

As the computer system 200 moves between the normal, reduced power, andidle modes of operation, the amount of power consumed by the computersystem 200 will vary substantially. These variations in power will alsoproduce variations in the amount of heat generated by the computersystem 200. Thus, the components 202 of the computer system 200 mayundergo a substantial thermal cycle each time that the computer systemswitches between the modes of operation.

The components 202 are constructed from a variety of materials, whichhave varying coefficients of thermal expansion, and thus, responddifferently to changes in temperature. That is, some of the materialsexpand substantially when heated, whereas others may be only minimallyaffected. In any event, some of the materials making up the components202 will expand more, or at different rates, than others, creatingrelative movement therebetween. This relative movement of the materialsmaking up the components 202 may impart substantial mechanical stress tothe components 202. Repeated exposure to these stresses over time mayphysically damage the components 202, ultimately leading to reducedperformance, or in the worst case, failure.

In some operating environments, the computer system 200 may undergofrequent, repeated variations in activity. Thus, the computer system 200may be frequently requested to move between the normal, reduced power,and idle operating modes. These frequent changes may cause the computersystem to repeatedly heat up and cool down. For example, during a periodof relatively heavy activity, the computer system may move to the normaloperating mode, operating at the full clock frequency. During this moveto the normal mode of operation, the components 202 will produce moreheat and expand accordingly. Thereafter, a period of reduced activitymay induce the computer system 200 to enter the reduced power mode ofoperation, which consumes less power and produces less heat, allowingthe components 202 to cool and causing the materials to shrink in size.If the relatively inactive period persists, the computer system 200 maybe requested to enter the idle mode of operation, further cooling thecomponents 202. Depending on the operating environment, thesetransitions may occur often over relatively long periods of time,producing repeated thermal cycles and attendant mechanical stress.

In one embodiment of the instant invention, thermal cycling iscontrolled to reduce the mechanical stress induced on the components202. That is, the CPU 204, operating under software control, may limitthe rate that the computer system 200 is allowed to transition betweenthe normal, reduced power, and idle modes of operation. Controlling therate at which the computer system 200 is allowed to transition betweenthe various modes may be implemented in a variety of schemes.

For example, the computer system 200 may be required to remain in aparticular operating mode for a preselected period of time. That is,once the computer system 200 moves to the normal mode of operation itmay be required to stay in that mode for a preselected period of time,such as 30 minutes. A similar limit could be placed on moves from thereduced power mode of operation to the idle mode of operation. Thiscontrol strategy may prove effective in reducing thermal cycling bycontrolling the transitions to prevent short duration temperaturespikes. Moreover, holding the computer system 200 in a higher mode ofoperation may reduce the number of transitions. That is, if the computersystem 200 is held in the normal mode of operation, instead of allowingit to cycle down to the reduced power or even idle modes of operation,then a subsequent period of increased activity will not require thecomputer system 200 to ramp back up to the normal operating mode.

In an alternative embodiment, the computer system 200 may be limited toa preselected number of transitions within a preselected time period.For example, the computer system 200 may be limited to 20 transitionsduring a period of 24 hours. Thus, cyclical activity of the computersystem 200 may cause relatively rapid transitions between the normal,reduced power, and idle modes of operation during a first portion of thepreselected time period, but once the limit is reached, furthertransitions will not be permitted until the preselected time periodexpires.

In still another embodiment, the computer system 200 may “learn”activity patterns. That is, the computer system 200 may experience thesame type of activity at about the same time each day. Thus, if thecomputer system 200 “knows” that during preselected time periods, suchas 3-5 PM Monday through Friday, it will experience relatively heavy butcyclic use, then it may hold the computer system 200 longer in thenormal mode of operation to reduce the number of cycles. Conversely, ifthe computer system 200 “knows” that it will experience extended periodsof light use, such as during the evening and weekend hours, then thecomputer system 200 may be allowed to move into the idle mode ofoperation after relatively short periods of reduced activity. On theother hand, during periods of time when the computer system 200historically sees moderate to heavy activity with only short durationsof activity warranting movement to the idle mode of operation, then thecomputer system 200 may be held out of the idle mode of operation toreduce thermal cycling.

In one embodiment of the instant invention, the computer system 200,operating under software control, may record the type of requestedtransition, the time at which the transition was requested, and theduration that the computer system 200 remained in each mode ofoperation. This recording may go on continuously or at selectedintervals. For example, the computer system 200 may track and recordinformation of this type on an hourly, daily, weekly, monthly, etc.basis. The recorded information may be periodically analyzed to identifyactivity trends, such as periods of cyclic activity, periods of lowactivity, periods of extended high activity, etc. These identifiedtrends may then be used to modify the rate at which the computer system200 is allowed to transition between the normal, reduced power, and idleoperating modes.

An exemplary flow chart of a process that may be executed on the CPU 204to carry out one of the control schemes discussed above is illustratedin FIG. 21. The process begins at block 2100 with the BBC 216 requestinga transition between the operating modes. In block 2102, the processchecks a timer to determine if a preselected duration of time haspassed. If the timer indicates that the preslected time period haselapsed, then the timer and a software counter are reset in block 2104.In block 2106, the counter is incremented, which is used to keep trackof the number of transitions that occur within the preselected timeperiod defined by the timer. In block 2108, the process compares thecounter value to a preselected number. If the counter value is less thanthe preselected number, control transfers to block 2110, where thetransition is allowed to proceed. If, on the other hand, the countervalue exceeds the preselected number, then the process proceeds to block2112 where the requested transition is not allowed to proceed, causingthe computer system 200 to remain in its current operating mode.

The particular embodiments disclosed above are illustrative only, as theinvention may be modified and practiced in different but equivalentmanners apparent to those skilled in the art having the benefit of theteachings herein. Furthermore, no limitations are intended to thedetails of construction or design herein shown, other than as describedin the claims below. It is therefore evident that the particularembodiments disclosed above may be altered or modified and all suchvariations are considered within the scope and spirit of the invention.In particular, every range of values (of the form, “from about a toabout b,” or, equivalently, “from approximately a to b,” or,equivalently, “from approximately a-b”) disclosed herein is to beunderstood as referring to the power set (the set of all subsets) of therespective range of values, in the sense of Georg Cantor. Accordingly,the protection sought herein is as set forth in the claims below.Accordingly, the protection sought herein is as set forth in the claimsbelow.

What is claimed:
 1. A method for operating an electronic device,comprising: monitoring operating characteristics of the electronicdevice; determining from said monitored operating characteristics tooperate at least a portion of components within the electronic device ina first, second, or third mode of operation, wherein said first, second,and third modes of operation consume power at first, second, and thirddifferent rates using first, second, and third non-zero clockfrequencies, respectively; and instructing at least a portion of thecomponents to switch between the first, second, and third modes.
 2. Amethod, as set forth in claim 1, wherein instructing at least a portionof the components to switch between the first, second, and third modesfurther comprises instructing at least a portion of the components toswitch between the first, second, and third non-zero clock frequencies.3. A method, as set forth in claim 2, wherein instructing at least aportion of the components to switch between the first, second, and thirdnon-zero clock frequencies further comprises instructing at least aportion of the components to substantially simultaneously switch betweenthe first, second, and third non-zero clock frequencies.
 4. A method, asset forth in claim 2, wherein instructing at least a portion of thecomponents to switch between the first, second, and third non-zero clockfrequencies further comprises instructing at least a portion of thecomponents to switch between the first, second, and third clock non-zerofrequencies, wherein the second clock frequency is about one-half of thefirst clock frequency.
 5. A method, as set forth in claim 2, whereininstructing at least a portion of the components to switch between thefirst, second, and third non-zero clock frequencies further comprisesinstructing at least a portion of the components to switch between thefirst, second, and third non-zero clock frequencies, wherein the thirdclock frequency is about one-thirty-second of the first clock frequency.6. A method, as set forth in claim 1, wherein instructing at least aportion of the components to switch between the first, second, and thirdmodes further comprises: writing data representative of one of thefirst, second, and third modes into a register associated with each ofthe components; and delivering a signal that causes each of thecomponents to operate in the mode indicated by the data stored in theregister associated therewith.
 7. A method, as set forth in claim 6,wherein delivering the signal that causes each of the components tooperate in the mode indicated by the data stored in the registerassociated therewith further comprises delivering a signal that causeseach of the components to substantially simultaneously being operatingin the mode indicated by the data stored in the register.
 8. A method,as set forth in claim 6, wherein delivering the signal that causes eachof the components to operate in the mode indicated by the data stored inthe register associated therewith further comprises delivering a signalthat requests each of the components to cease transferring datatherebetween.
 9. A method, as set forth in claim 6, further comprisingreceiving a signal from each of the components indicating that datatransfer therebetween has been ceased before delivering the signal thatcauses each of the components to operate in the mode indicated by thedata stored in the register associated therewith.
 10. An apparatus,comprising: a plurality of components, wherein at least a portion ofsaid components have a first, second, and third mode of operation, andsaid first, second, and third modes of operation consume power at first,second, and third different rates using first, second, and thirdnon-zero clock frequencies, respectively; a controller capable ofinstructing said components to switch between the first, second, andthird modes of operation.
 11. An apparatus, as set forth in claim 10,wherein the controller is capable of instructing at least a portion ofthe components to switch between the first, second, and third modessubstantially simultaneously.
 12. An apparatus, as set forth in claim11, wherein said controller instructs at least a first and a second oneof the components to switch between the first, second, and thirdnon-zero clock frequencies substantially simultaneously.
 13. Anapparatus, as set forth in claim 12, wherein each of the components hasassociated therewith a register adapted to receive data stored therein,said data being indicative of the clock frequency at which the componentis to be operated.
 14. An apparatus, as set forth in claim 13, whereinthe controller delivers a signal to at least a portion of the componentscausing each of the components to switch to the frequency indicated bythe data stored in the register associated therewith.
 15. An apparatusfor operating an electronic device, comprising: means for monitoringoperating characteristics of the electronic device; means fordetermining from said monitored operating characteristics to operate atleast a portion of components within the electronic device in a first,second, or third mode of operation, wherein said first, second, andthird modes of operation consume power at first, second, and thirddifferent rates using first, second, and third non-zero clockfrequencies, respectively; and means for instructing at least a portionof the components to switch between the first, second, and third modes.